Fixed GtkSpinner to request 12x12 at init time instead of at expose time.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Mon, 19 Apr 2010 00:46:30 +0000 (20:46 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Mon, 19 Apr 2010 00:46:30 +0000 (20:46 -0400)
commit0dff033a648cb33f8f8d1ee3d31fabe43e0dcc10
tree130acb5b5e9ddedfd1536624fca5d52092e7715f
parent4c1fa76520216d15ca547c16be97ce6974a18cdf
Fixed GtkSpinner to request 12x12 at init time instead of at expose time.

This should not change the space taken by the spinner when hidden,
and it should only set the minimum size not the actual size (i.e. code
in place was conditionally setting it if not allocated 12x12, which
doesnt really make sense)... This fixes spinners showing at the correct size
in gtk-demo.
gtk/gtkspinner.c